local minty_meat_rolls = fk.CreateSkill {
  name = "cf_minty_meat_rolls_skill",
}

Fk:loadTranslationTable {
  ["cf_minty_meat_rolls_skill"] = "兽肉薄荷卷",
  ["#cf_minty_meat_rolls_skill"] = "本回合使用【杀】无次数限制并饱腹",
  ["@@cf_minty_meat_rolls_skill-turn"] = "兽肉薄荷卷",
}

minty_meat_rolls:addEffect("cardskill", {
  prompt = "#cf_minty_meat_rolls_skill",
  mod_target_filter = Util.TrueFunc,
  can_use = function(self, player, card, extra_data)
    if Util.CanUseToSelf(self, player, card, extra_data) then
      return player:getMark("@@cf_baofu-turn") == 0
    end
  end,
  on_effect = function(self, room, effect)
    local from = effect.from
    local to = effect.to
    if to.dead then return end
    room:addPlayerMark(to, "@@cf_minty_meat_rolls_skill-turn")
    room:addPlayerMark(to, "@@cf_baofu-turn")
    if room:hasSkill("cf_minty_meat_rolls_continue_skill") then return end
    room:addSkill("cf_minty_meat_rolls_continue_skill")
  end
})

return minty_meat_rolls
